﻿<?php
   //定义日志路径
   define('BASE_PATH',str_replace( '\\' , '/' , realpath(dirname(__FILE__).'/../'))."/log");
   define('PATH_LOG_FILE',BASE_PATH.'/newPayDemo-'.date('Y-m-j').'.log');
   //创建日志存储目录
   if (!is_dir(BASE_PATH)) mkdir(BASE_PATH);

   //请在这里配置商户号
   $pmercode='185666';
   //获取商户相关信息(商户名称、证书、账户号)
   function getMerInfo($mercode)
   {
      $arrayMer=array();
      switch ($mercode)
     {
        case "185666":
           $arrayMer=array (
                             'mername'=>'支付',
                             'mercert'=>'gc3ZVO8Ewoy6XX035mJeaCR2EEEP3Bd7AjvhsZynl67yaN20xnvfhSJvd0NesnjuR7W5y2u5RJ6lRkJANWSseLQasKD3vY4Xu9oMSqVv3tWOA8Gu1WEHhkwgQjTzl8bd',
                             'acccode'=>'1856660012'
                           );
            break;
     }
     return $arrayMer;
   }
?>
